namespace SharpTalk.Core
{
    using System;

    /// <summary>
    /// Fixed size SimpleMessageCollection
    /// </summary>
    public sealed class SimpleMessageCollection : FixedSizeObservableCollection<SimpleMessage>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:SharpTalk.Core.FixedSizeObservableCollection`1"/> class.
        /// </summary>
        /// <param name="maxItemCount">The maximum items count</param>
        /// <exception cref="ArgumentOutOfRangeException">maxItemCount must be greater than 1.</exception>
        public SimpleMessageCollection(int maxItemCount) 
            : base(maxItemCount)
        {
        }

    }
}